#!/bin/sh

echo > /dev/mdev.seq

echo "/sbin/mdev" >/proc/sys/kernel/hotplug

touch /dev/.udev

[ -d "/sys/kernel" ] || mount sysfs /sys -t sysfs

[ -d "/dev/shm" ] || mkdir /dev/shm

[ -L "/dev/fd" ] || ln -s /proc/self/fd /dev/fd

mdev -s
